﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 生产入库表
    /// </summary>
    [SugarTable("StockIn")]
    public class StockIn
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "ID")]
        public int StockInId { get; set; }

        [SugarColumn(ColumnDescription = "入库类型", Length = 50)]
        public string ?StockInType { get; set; }

        [SugarColumn(ColumnDescription = "入库单号", Length = 20)]
        public string ?StockInCode { get; set; }

        [SugarColumn(ColumnDescription = "入库主题", Length = 100)]
        public string? StockInSubject { get; set; }

        [SugarColumn(ColumnDescription = "入库日期")]
        public DateTime StockInDate { get; set; }

        [SugarColumn(ColumnDescription = "生产单号", Length = 20)]
        public string? ProductionOrderID { get; set; }

        [SugarColumn(ColumnDescription = "入库员工", Length = 50)]
        public string? StockInEmployee { get; set; }

        [SugarColumn(ColumnDescription = "入库仓库名称", Length = 50)]
        public string ?WarehouseName { get; set; }

        [SugarColumn(ColumnDescription = "备注", Length = 500)]
        public string ?Remarks { get; set; }
    }
}
